package com.relytosoft.mizar.analyze.structure.api.pojo.query;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author: zyc
 * @version: v1.0
 * @description: com.relytosoft.mizar.analyze.structure.api.pojo.query
 * @Date: 2022/5/24 18:53
 */
@ApiModel("AyStructureTaskSearch")
public class AyStruNonMotorVehicleSearchQuery {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间", required = true)
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间", required = true)
    private Date endTime;
    @ApiModelProperty(value = "通道id,多个通道用逗号隔开")
    private String deviceId;
    @ApiModelProperty(value = "搜索类型")
    private String dataType;
    @ApiModelProperty(value = "任务id")
    private Integer structureTaskId;

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Integer getStructureTaskId() {
        return structureTaskId;
    }

    public void setStructureTaskId(Integer structureTaskId) {
        this.structureTaskId = structureTaskId;
    }

    @Override
    public String toString() {
        return "AyStruNonMotorVehicleSearchQuery{" +
                "beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", deviceId='" + deviceId + '\'' +
                ", dataType='" + dataType + '\'' +
                ", structureTaskId=" + structureTaskId +
                '}';
    }
}
